package com.megaspacevr.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import lombok.Data;



/**
 * 预约请求VO
 */
@Data
@Schema(name = "BookingRequestVO", description = "预约请求数据")
public class BookingRequestVO {

    @NotNull(message = "时间段ID不能为空")
    @Schema(description = "时间段ID")
    private Long timeSlotId;

    @NotBlank(message = "用户标识不能为空")
    @Schema(description = "用户设备标识")
    private String userToken;

    @NotBlank(message = "联系人姓名不能为空")
    @Schema(description = "联系人姓名")
    private String contactName;

    @NotBlank(message = "联系电话不能为空")
    @Pattern(regexp = "^1[3-9]\\d{9}$", message = "请输入正确的手机号码")
    @Schema(description = "联系电话")
    private String contactPhone;

    @Schema(description = "备注")
    private String notes;

    @Schema(description = "特殊需求")
    private String specialRequirements;
} 